package com.twu.biblioteca.model;

/**
 * Created by andreas on 21.04.14.
 */
public class Book {
    private final int id;
    private final String author;
    private final String title;
    private boolean reserved;

    public Book(int id, String author, String title, boolean reserved) {
        this.id = id;
        this.author = author;
        this.title = title;
        this.reserved = reserved;
    }

    public int getID() {
        return id;
    }

    public String getAuthor() {
        return author;
    }

    public String getTitle() {
        return title;
    }

    public boolean isReserved() {
        return reserved;
    }

    public void setReserved(boolean reserved) {
        this.reserved = reserved;
    }

}
